package com.engineering.elink.dao;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import com.engineering.elink.domain.Label;

public interface LabelMapper {
	int deleteByPrimaryKey(Integer labelId);

	int insert(Label record);

	int insertSelective(Label record);

	Label selectByPrimaryKey(Integer labelId);

	int updateByPrimaryKeySelective(Label record);

	int updateByPrimaryKey(Label record);

	List<Label> getList();

	@Delete("delete from label where find_in_set(label_id,#{ids})")
	void del(@Param("ids") String ids);

	void order(@Param("id") String id, @Param("seq") String seq);

	int getMaxSeq();
	
	int getMaxId();
	Long  insertBatch(@Param("list")List<Label> tagList);
	
}